package org.ymjava.medical.core.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "nurse.wx")
public class WxProperties {

    private String appId;

    private String appSecret;

    private String mchId;

    private String mchKey;

    @Override
    public String toString() {
        return "WxProperties{" +
                "appId='" + appId + '\'' +
                ", appSecret='" + appSecret + '\'' +
                ", mchId='" + mchId + '\'' +
                ", mchKey='" + mchKey + '\'' +
                ", notifyUrl='" + notifyUrl + '\'' +
                ", fiveNotifyUrl='" + fiveNotifyUrl + '\'' +
                ", voucherNotifyUrl='" + voucherNotifyUrl + '\'' +
                ", keyPath='" + keyPath + '\'' +
                '}';
    }

    private String notifyUrl;

    private String fiveNotifyUrl;

    private String refundNotifyUrl;

    private String voucherNotifyUrl;

    private String keyPath;

    public String getFiveNotifyUrl() {
        return fiveNotifyUrl;
    }

    public void setFiveNotifyUrl(String fiveNotifyUrl) {
        this.fiveNotifyUrl = fiveNotifyUrl;
    }

    public String getVoucherNotifyUrl() {
        return voucherNotifyUrl;
    }

    public void setVoucherNotifyUrl(String voucherNotifyUrl) {
        this.voucherNotifyUrl = voucherNotifyUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getMchKey() {
        return mchKey;
    }

    public void setMchKey(String mchKey) {
        this.mchKey = mchKey;
    }

    public String getAppId() {
        return this.appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }

    public String getKeyPath() {
        return keyPath;
    }

    public void setKeyPath(String keyPath) {
        this.keyPath = keyPath;
    }

    public String getRefundNotifyUrl() {
        return refundNotifyUrl;
    }

    public void setRefundNotifyUrl(String refundNotifyUrl) {
        this.refundNotifyUrl = refundNotifyUrl;
    }
}
